<?php
class Token {
	public static function gerar($tamanho) {
		for ($i = 0, $token = ""; $i++ < $tamanho;) {
			$token .= chr(mt_rand(33, 126));
		}
		return $token;
	}
}